import request from '/src/utils/request'
export const getHotSearchAPI = (data={pagenum:1,pagesize:4}) => {
    return request({
        url:'/hotSearch/index',
        method:'get',
        data,
    })
}

// 请求 人气商品列表
export const getShopListAPI = (data) => {
    return request({
        url:'/goods/index',
        method:'get',
        data,
    })
}

export const getSwiperAPI = () => {
    return request({
        url: '/swiper/index?pagenum=1&pagesize=6',
        method:'get'
    })
}